html, body {
  height: 100%;
}

body {
  background-color: #f2f5f9;
}
.guideRegister {
  height: 100%;;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.guideHeader {
  flex: 0 0 auto;
  display: flex;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  width: 100%;
  height: 40px;
  background-color: #fff;

  .logo {
    flex: 0 0 auto;
    width: 74px;
    height: 30px;
    background-image: url('logotext@2x.png');
    background-size: 74px 30px;
    background-position: center;
  }
  .logoText {
    padding-top: 5px;
    height: 30px;
    line-height: 25px;
    flex: 1 1 auto;
    font-size: 12px;
    color: #807f83;
    vertical-align: middle;
    .split {
      padding: 0 5px 0 2px;
      font-size: 10px;
      line-height: 25px;
      color: #979797;
      font-style: normal;
      vertical-align: middle;
    }
  }
}

.guideContainer {
  flex: 0 0 auto;
  padding-top: 20px;
  padding-left: 28px;
  padding-right: 28px;

  .loginError {
    display: none;
    height: 20px;
    color: #f5222d;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 10px;
  }

  .guideBox {
    height: 100%;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0px 6px 9px 0px rgba(49,53,85,0.06);
  }
  .boxCaption {
    width: 100%;
    height: 60px;
    padding: 17px 0;
    color: #000;
    font-size: 18px;
    line-height: 25px;
  }
  .boxInput {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    .addon {
      flex: 0 0 auto;
      height: 48px;
      width: 48px;
      background-position: center;
      background-repeat: no-repeat;

      &.building {
        background-size: 14px 15px;
        background-image: url('register/building.png');
      }
      &.phone {
        background-size: 14px 18px;
        background-image: url('register/phone.png');
      }
      &.lock {
        background-size: 14px 16px;
        background-image: url('register/lock.png');
      }
    }
    .inputControl {
      flex: 1 1 auto;
      padding: 17px 0;
      height: 48px;
      font-size: 13px;
      color: #b2b2b2;
      border: none;
      outline: none;
      border-radius: 4px;
    }
  }
  .boxProtocol {
    padding: 10px 0 20px 0;
    font-size: 13px;

    .checkboxWraper {
      position: relative;
      display: inline-block;
      width: 13px;
      height: 13px;
      border: 1px solid #d0d0d0;
      vertical-align: middle;

      & > .checkboxInner {
        display: inline-block;
        position: absolute;
        top: 1px;
        left: 1px;
        width: 9px;
        height: 6px;
        border: 1px solid transparent;
        transform: rotate(-45deg);
        transform-origin: center center;
      }

      & > input:checked + .checkboxInner {
        border: 1px solid #09bb07;
        border-top-color: transparent;
        border-right-color: transparent;
      }
    }

    input[type="checkbox"] {
      opacity: 0;
      outline: none;
      position: absolute;
      margin: 0;
      width: 0;
      height: 0;
      z-index: -1;
    }
    .checkboxLabel {
      vertical-align: middle;
    }
    .protocol-text {
      color: #333;
    }
    .protocol-address {
      color: #2b90e9;
    }
  }
  .guide-register {
    width: 100%;
    height: 44px;
    margin-bottom: 40px;

    &.loginBtn {
      padding-top: 20px;
      height: 64px;
    }

    .register-button {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 4px;
      background-color: #4ed5a4;
      color: #fff;
      line-height: 44px;
      text-align: center;
      outline: none;
      border: none;
    }
  }
}

.foot {
  width: 100%;
  padding: 0 28px;
  flex: 1 0 auto;
  height: 20px;
  text-align: center;
  display: flex;
  align-items: flex-end;
  .account-area {
    width: 100%;
    height: 30px;
    margin-bottom: 15px;
  }
  .has-account {
    color: #667a9b;
    font-size: 14px;
    line-height: 20px;
  }
  .sign-text {
    color: #2782d7;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
  }
}

.protocol {
  display: none;
  position: fixed;
  top:41px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;

  & > .close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    right: 0;
    font-size: 20px;
    line-height: 30px;
    color: #333;
    text-align: center;
    background-color: #fff;
    z-index: 10;
  }

  & > .protocol-wraper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;

      &::-webkit-scrollbar-track-piece {
        background-color: #FFF;
        border-left: 1px solid #FFF;
      }
      &::-webkit-scrollbar {
        width: 2px;
        height: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
      }
      &::-webkit-scrollbar-thumb {
        background-color: #333;
        background-clip: padding-box;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        min-height: 10px;
      }
      &::-webkit-scrollbar-thumb:hover {
        background-color: #ccc;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
      }
  }

  .protocol-container {
    padding: 30px 10px 0;

    & > .protocol-name {
      text-align: center;
      font-size: 20px;
      color: #222;
      margin-bottom: 15px;
    }
    & > .protocol-version {
      text-align: center;
      font-size: 12px;
      color: #292c32;
      margin-bottom: 5px;
    }
    & > .protocol-header {
      text-align: left;
      font-size: 14px;
      color: #292c32;
      margin-bottom: 30px;
    }
    & > .protocol-chapter {
      color: #292c32;
      margin-bottom: 20px;
      & > .header {
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 30px;
      }
      & > .content {
        display: flex;
        font-size: 14px;
        & > .no {
          flex: 0 0 15px;
        }
        & > .text {
          flex: 1 1 300px;
          margin-bottom: 10px;
        }
      }
    }
  }
}